﻿<?xml version="1.0" encoding="utf-16"?>
<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration">
  <!--Authored against the following schema version: 5-->
  <OperatingSystem AuthoringScopeId="ScopeId_531167D1-4C37-4E99-9B44-E3CD7FF0DFE4" LogicalName="OperatingSystem_0c1ece0a-f486-43f3-a1d9-8f42374d30ed" Version="1">
    <Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules">
      <DisplayName Text="SCCM Client Remediation - Notify Only" ResourceId="ID-e5eddf34-0d2d-4eef-9874-c7c4380bb367" />
      <Description Text="" />
    </Annotation>
    <Parts>
      <SuppressionReferences />
    </Parts>
    <Settings>
      <RootComplexSetting>
        <SimpleSetting LogicalName="RegSetting_3831469a-b644-4d85-b023-25bad1b71dd7" DataType="String">
          <Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules">
            <DisplayName Text="NotifyOnly" ResourceId="ID-22ea2f64-d661-4dbf-ad38-3d5d2e4bb215" />
            <Description Text="" />
          </Annotation>
          <RegistryDiscoverySource Hive="HKEY_LOCAL_MACHINE" Depth="Base" Is64Bit="false" CreateMissingPath="true">
            <Key>Software\Microsoft\CCM\Ccmeval</Key>
            <ValueName>NotifyOnly</ValueName>
          </RegistryDiscoverySource>
        </SimpleSetting>
      </RootComplexSetting>
    </Settings>
    <Rules>
      <Rule xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules" id="Rule_e54f1dc6-35f4-470d-9992-bdf6a2016d74" Severity="Critical" NonCompliantWhenSettingIsNotFound="false">
        <Annotation>
          <DisplayName Text="NotifyOnly must Exist" ResourceId="ID-8dfb76b9-b8bb-4692-8668-04d8ad965176" />
          <Description Text="" />
        </Annotation>
        <Expression>
          <Operator>NotEquals</Operator>
          <Operands>
            <SettingReference AuthoringScopeId="ScopeId_531167D1-4C37-4E99-9B44-E3CD7FF0DFE4" LogicalName="OperatingSystem_0c1ece0a-f486-43f3-a1d9-8f42374d30ed" Version="1" DataType="Int64" SettingLogicalName="RegSetting_3831469a-b644-4d85-b023-25bad1b71dd7" SettingSourceType="Registry" Method="Count" Changeable="false" />
            <ConstantValue Value="0" DataType="Int64" />
          </Operands>
        </Expression>
      </Rule>
      <Rule xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules" id="Rule_7b5780a9-8622-4155-992d-c8c133e39798" Severity="Critical" NonCompliantWhenSettingIsNotFound="true">
        <Annotation>
          <DisplayName Text="NotifyOnly Equals TRUE" ResourceId="ID-6f71d482-9180-4b8a-aa87-181391e9a18d" />
          <Description Text="" />
        </Annotation>
        <Expression>
          <Operator>Equals</Operator>
          <Operands>
            <SettingReference AuthoringScopeId="ScopeId_531167D1-4C37-4E99-9B44-E3CD7FF0DFE4" LogicalName="OperatingSystem_0c1ece0a-f486-43f3-a1d9-8f42374d30ed" Version="1" DataType="String" SettingLogicalName="RegSetting_3831469a-b644-4d85-b023-25bad1b71dd7" SettingSourceType="Registry" Method="Value" Changeable="true" />
            <ConstantValue Value="TRUE" DataType="String" />
          </Operands>
        </Expression>
      </Rule>
    </Rules>
    <OperatingSystemDiscoveryRule xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules">
      <OperatingSystemExpression>
        <Operator>OneOf</Operator>
        <Operands>
          <RuleExpression RuleId="Windows/All_Windows_Client_Server" />
        </Operands>
      </OperatingSystemExpression>
    </OperatingSystemDiscoveryRule>
  </OperatingSystem>
</DesiredConfigurationDigest>